package com.elinshaw.fruits

case class Fruit(name: String, color: String)

object Apple extends Fruit("Apple", "green")

object Plum extends Fruit("Plum", "blue")

object Banana extends Fruit("Banana", "yellow")